/*
 * @Author: yanjikun
 * @Date: 2021-06-24 09:15:50
 * @LastEditors: yanjikun
 * @LastEditTime: 2022-05-13 13:38:08
 * @Description: file content
 */
import type { RouteRecordRaw } from 'vue-router'

interface CustomRouteRecordRawMeta {
  title?: string
  icon?: string
  keepAlive?: boolean
  hidden?: boolean
}

export interface CustomRouteRecordRaw extends Omit<RouteRecordRaw, 'meta' | 'children'> {
  meta: CustomRouteRecordRawMeta
  children?: CustomRouteRecordRaw[]
}
